/* @(#)GSManufactureCategoryBean.java    
 *
 * Project: BUS
 *
 * Modify Information:
 * =============================================================================
 *   Author       Date       Description
 *   ------------ ---------- ---------------------------------------------------
 *   Jenny Li     2006-2-13  新增
 *   Jenny Li     2006-3-7   添加是否交易平台产品种类字段
 * Copyright Notice:
 * =============================================================================
 *    Copyright (c) 2001-2006 Beijing HiTRUST Technology Co., Ltd. 1808 Room, 
 *        Science & Technology Building, No. 9 South Street, Zhong Guan Cun, 
 *        Haidian District, Beijing ,100081, China All rights reserved.
 *
 *    This software is the confidential and proprietary information of
 *        Beijing HiTRUST Technology Co., Ltd. ("Confidential Information").
 *        You shall not disclose such Confidential Information and shall use it
 *        only in accordance with the terms of the license agreement you entered
 *        into with HiTRUST.
 *
 * Warning:
 * =============================================================================
 * 
 */
package com.hitrust.gs.bean;

import java.sql.ResultSet;
import java.sql.SQLException;

import com.hitrust.gs.service.GSBaseBean;

/**
 * 
 */
public class GSManufactureCategoryBean implements GSBaseBean {
	/**
     * 
     */
    private static final long serialVersionUID = 1L;

    /**
	 * 产品种类编号
	 */
	private String gs_manufacture_category_id;

	/**
	 * 产品种类名称
	 */
	private String gs_manufacture_category_name;

	/**
	 * 产品种类描述
	 */
	private String gs_manufacture_desc;

	/**
	 * 产品种类级别
	 */
	private String gs_manufacture_level;

	/**
	 * 产品种类一级编号
	 */
	private String gs_manufacture_category_id1;
    /**
     * 产品种类二级编号
     */
    private String gs_manufacture_category_id2;
  
    private String gs_upper_manufacture_category;
	/**
     * 是否交易平台的产品种类
	 */
	private String gs_is_tradeflat_manuf_category;

	/**
     * @return 返回变量gs_is_tradeflat_manuf_category的值.
     */
    public String getGs_is_tradeflat_manuf_category() {
        return this.gs_is_tradeflat_manuf_category;
    }

    /**
     * @param aGs_is_tradeflat_manuf_category 设定变量gs_is_tradeflat_manuf_category的值.
     */
    public void setGs_is_tradeflat_manuf_category(
            String aGs_is_tradeflat_manuf_category) {
        this.gs_is_tradeflat_manuf_category = aGs_is_tradeflat_manuf_category;
    }

    /**
	 * 返回gs_manufacture_category_name.
	 */
	public String getGs_manufacture_category_name() {
		return this.gs_manufacture_category_name;
	}

	/**
	 * @param aGs_manufacture_category_name
	 *            赋值给gs_manufacture_category_name.
	 */
	public void setGs_manufacture_category_name(
			String aGs_manufacture_category_name) {
		this.gs_manufacture_category_name = aGs_manufacture_category_name;
	}

	/**
	 * 返回gs_manufacture_desc.
	 */
	public String getGs_manufacture_desc() {
		return this.gs_manufacture_desc;
	}

	/**
	 * @param aGs_manufacture_desc
	 *            赋值给gs_manufacture_desc.
	 */
	public void setGs_manufacture_desc(String aGs_manufacture_desc) {
		this.gs_manufacture_desc = aGs_manufacture_desc;
	}

	/**
	 * 返回gs_manufacture_level.
	 */
	public String getGs_manufacture_level() {
		return this.gs_manufacture_level;
	}

	/**
	 * @param aGs_manufacture_level
	 *            赋值给gs_manufacture_level.
	 */
	public void setGs_manufacture_level(String aGs_manufacture_level) {
		this.gs_manufacture_level = aGs_manufacture_level;
	}

	public Object process(ResultSet aResultSet) throws SQLException {
		GSManufactureCategoryBean tGSManufactureCategoryBean = new GSManufactureCategoryBean();
		tGSManufactureCategoryBean.gs_manufacture_category_id = aResultSet
				.getString("code").trim();
		tGSManufactureCategoryBean.gs_manufacture_category_name = aResultSet
				.getString("name").trim();
		tGSManufactureCategoryBean.gs_manufacture_desc = aResultSet
				.getString("REMARK") == null ? "" : aResultSet
				.getString("REMARK");
		tGSManufactureCategoryBean.gs_manufacture_level = aResultSet
				.getString("CATEGORY_LEVEL");
		tGSManufactureCategoryBean.gs_manufacture_category_id1 = aResultSet
				.getString("CATEGORY_ID1")==null?"":aResultSet
		                .getString("CATEGORY_ID1");
        tGSManufactureCategoryBean.gs_manufacture_category_id2 = aResultSet
                .getString("CATEGORY_ID2")==null?"":aResultSet
                        .getString("CATEGORY_ID2");
        tGSManufactureCategoryBean.gs_upper_manufacture_category = aResultSet
        .getString("UPPER_CATEGORY");
        tGSManufactureCategoryBean.gs_is_tradeflat_manuf_category = aResultSet.getString("IS_TRADEFLAT_CATEGORY");
		return tGSManufactureCategoryBean;
	}

	

    /**
     * @return 返回 gs_manufacture_category_id.
     */
    public String getGs_manufacture_category_id() {
        return this.gs_manufacture_category_id;
    }

    /**
     * @param aGs_manufacture_category_id The gs_manufacture_category_id to set.
     */
    public void setGs_manufacture_category_id(String aGs_manufacture_category_id) {
        this.gs_manufacture_category_id = aGs_manufacture_category_id;
    }

    /**
     * @return 返回 gs_upper_manufacture_category.
     */
    public String getGs_upper_manufacture_category() {
        return this.gs_upper_manufacture_category;
    }

    /**
     * @param aGs_upper_manufacture_category The gs_upper_manufacture_category to set.
     */
    public void setGs_upper_manufacture_category(
            String aGs_upper_manufacture_category) {
        this.gs_upper_manufacture_category = aGs_upper_manufacture_category;
    }

    /**
     * @return 返回 gs_manufacture_category_id1.
     */
    public String getGs_manufacture_category_id1() {
        return this.gs_manufacture_category_id1;
    }

    /**
     * @param aGs_manufacture_category_id1 The gs_manufacture_category_id1 to set.
     */
    public void setGs_manufacture_category_id1(String aGs_manufacture_category_id1) {
        this.gs_manufacture_category_id1 = aGs_manufacture_category_id1;
    }

    /**
     * @return 返回 gs_manufacture_category_id2.
     */
    public String getGs_manufacture_category_id2() {
        return this.gs_manufacture_category_id2;
    }

    /**
     * @param aGs_manufacture_category_id2 The gs_manufacture_category_id2 to set.
     */
    public void setGs_manufacture_category_id2(String aGs_manufacture_category_id2) {
        this.gs_manufacture_category_id2 = aGs_manufacture_category_id2;
    }

}
